github.com/gotd/td/telegram/internal/manager.Conn.log (field)
15 uses
github.com/gotd/td/telegram/internal/manager (current package)
conn.go#L66: log log.Helper // immutable
conn.go#L99: c.log.Info(context.Background(), "SessionInit")
conn.go#L163: c.log.Debug(context.Background(), "Invoke",
conn.go#L175: c.log.Debug(ctx, "Connection dead", log.Error(err))
conn.go#L204: c.log.Debug(ctx, "Invoke waiting for connection to become ready")
conn.go#L208: c.log.Debug(ctx, "Connection became ready", log.Duration("waited", c.clock.Now().Sub(start)))
conn.go#L211: c.log.Debug(ctx, "Connection died while waiting for readiness", log.Duration("waited", c.clock.Now().Sub(start)))
conn.go#L214: c.log.Debug(ctx, "Context done while waiting for connection readiness",
conn.go#L277: c.log.Warn(ctx, "Server lost connection state, re-sending initConnection",
conn.go#L300: c.log.Info(ctx, "Connection re-initialized", log.Int("dc", c.dc))
conn.go#L430: c.log.Debug(ctx, "Initializing")
conn.go#L466: c.log.Debug(ctx, "Retrying connection initialization",
conn.go#L484: c.log.Debug(ctx, "Connection initialized, ready to invoke", log.Int("this_dc", cfg.ThisDC))
create.go#L95: conn.log = log.For(opts.Logger)
create.go#L103: opts.Logger = conn.log.Named("mtproto").Logger()
 |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |